include_directories: [ rootInclude, bablBaseInclude],
c_args: [ '-DLIBDIR="' + get_option('libdir') + '"', ],
cpp_args: [ '-DLIBDIR="' + get_option('libdir') + '"', ],
+ link_with: [ babl_base, ],
+ dependencies: [ math, thread, dl, ],
)
path_sep = ( os_win32 ? ';' : ':' )
dirs_sep = ( os_win32 ? '\\' : '/' )
-conf.set('BABL_PATH_SEPARATOR', path_sep)
-conf.set('BABL_DIR_SEPARATOR', dirs_sep)
+conf.set('BABL_PATH_SEPARATOR', '\'' + path_sep + '\'')
+conf.set_quoted('BABL_DIR_SEPARATOR', dirs_sep)
################################################################################
# Extra warnings
log = []
endif
+dl = cc.find_library('dl')
+
pkgconfig.generate(filebase: 'babl',
name: 'babl',